Refine the structure