optimizations by beginswithat in ChainedVector