Add argument bounds for distance-to-sphere test.