Masking almost seem to work
Seems that the correct triangles and vertices are produced.
fiddling with indices