partial implementation of blelloch algorithm