SCAN Hillis/Steele algorithm