Add amortized constant time slidingVectorWindow