map optimizations