atlases and optimization