Chaikin algorithm | ScratchStats