fix graham scan