RingBuffer constructor now only accepts numbers