divide: file cleanup
unified getDistanceToPoint(): experimental