replace GQueue with GSequence in most scenarios, since g_queue_peek_nth is very slow