added doesCircleInstersectRectangle