If this logic ends up being ok, the other option would be to generalize this into a `max_dot/2` function and just fold over the list of dots.