Avoids edge conditions when computing cluster radius