SpaceReducer : main written