On the effective implementation of the iterative proportional fitting procedure