refactoring of ClosestStops/Stop, bump ratis version