fix: print height distribution
The format string for the height distribution print was butched (probably from the swtich to spdlog a while ago; its not a widely used feature)
While fixing that, I also switched to using std::map
and proper for-loops.