Speed improve reg

Improve speed of register file