Todo #### - Implement :func:`extract_positions` in Rust for better performance.