Effect of residence time on the degree of CaCO3 precipitation in the presence of an anti-scalant