+ packages
+ Kaplan-Okasaki-Tarjan persistent deque (bugged)
+ Buffer helper