refine the mdot