extracted up and down traversal into functions
Extracted vertexDownTraverse into separate func.
Added separate offsets for triangles and vertices.