loop unrolling in updateField