Update MaWeight.java