This reverts commit 2ab45a8514. It is not needed anymore because cells and vertices come in deterministic order
2ab45a8514