working draft of parallel prefix scan