Rewrite of form tree to avoid incremental computation.