Railways must operate at variable speeds