fixed bug where the n_slots accumulator had the wrong denominator