New triangle inside method which seems to be working quite well.