Finished graham scan