fix up memory during build, fix use of step.group() call