Refactoring to not rely on a temporary layer

The only feature on the temporary layer is now the
vertexFeature.