change reg max to 16 and negative direct