calculate flow from actual x printed (don't take last flow from stepper because x printed may be interpolated)