large map optimizations