OSpan Coding and Extraction