Translated link, em, calc_weigths to ldat