Optimized map slices. Moving reference maps out of metadata