Enabled parallel processing of the nld_step_scalar function