why do we do a deepcopy here and a data copy above, that's a waste of RAM and compute, we might as well move this deepcopy up and directly change the `new_map.data`.