Implement ParitionSpace.