Fix to decimation api