Is 10km intentional? Comments later in the code refer to 1km.