Adds loop decimation algorithm