Magnesium carbonate precipitation under the influence of polyacrylamide