change default tile size to 128x128
sampler: do fewer lookups of klass->get