fixed bug in quick hull