WIP for errors converting to faster distanceMaps