removing more unused code to make room for triangulator. 392 locs