further improvements to computational geometry