added triangle splitter