use Lists for intermediate mesh data storage
generating some sides
generate right/left tile side
generate all terrain sides
set normals correctly (?)
call mesh.Optimize() before applying
use meshData object to simplify code
refactor to reduce code size
code cleanup