pipe - pre-MP work, change indexing to circular FIFO rindex/windex.