introduced new doFindTrapez, fixed splitting up into unimonotone
inserted some code for insert
Added split horizontal