Add IBD to the new algorithm--testing