Add range checking to walkBoardCost and bikeBoardCost