Selecting and sizing pipe wood next previous index