Use a deque for storing bpm history