Coarse pointer utils and optimizations