In the middle of adding stateful decimation. Currently broken