Use array length to know if history is full