refine spaces