Distance.to bulk calculation