Merge "Use divide by multiply in the ans writer." into nextgenv2