If you have the wood out, use it as a template while it is still in correct shape, Simple to cut new wood CDX is fine, do not use treated. Glass the new wood to have a long living floor. Why use ugly wood. Replacing it is a small effort at this point.