integrated forwarded fields

So, here it is. This integrates constantFields into the optimizer.