Make top-N accumulator use compact item lists