On the maximal weight of (p,q)-ary chain-partitions with bounded parts