rough implementation of sphere partial sampling