removed some unneded setting of fields array and reduced default number of ppcg inner steps
hoist field setting out of loop