How scarcity affects thinking