optimize the register