TODO updated in src/surf_map.hpp, skeleton for stats written