Balanced and Deterministic Weight-sharing Helps Network Performance