fixed the assumed d_o to avoid not having 7 leaves