fixed the problem where flow was lost somewhere. also, made it so that flow can only be divided up into multiplies of 1.0