Fixed bug in eightpoint