Introduced factor for maximum distance again