Exception: vector <T> too long