Current impl, advancing front is backed by a quick sorted vector, which starts to cause issue for large graph.