extract ibd segment for rsid