Triangle subdivision mostly working