fixed minor bugs in the preliminary version of iterative register allocation