fix memory overflow bugs,some reg_store[i] need more space