Fixed algorithm to ensure the fare calculation does not leave 'gaps'