frontload compilation of aggregate fields work