modified the result reg size