I did that.  I also modified this line to only scale the flux if `dx != 1.` since that would be another reason not to do so.