improved and fixed SphereCastAll