fixed a bug where quo() would call vector::reserve() with a negative argument