Add priority feature, to weight highway classes fix bug from prev. commit