changed XGMML writer so it can write bigger RegINs