Fix calculate_route method
Add helper to specs