probably should name this distance_sq or something like that so that other readers dont mistakenly think it returns the actual distance