finish registers alloction