added wiggle room to CUDA block number memory calculation