Updated skid's triangulate method