Structure refractoring