Compactness properties of weighted summation operators on trees - the critical case