Hotfix for distance points calculation