Making retain assignment code to be simple in rrl balancer