popping works for large vectors