Code refracturing