Coalescent and models of identity by descent