Added calculate distance body