Add closest-num dependency