add L2 norm weight constraints to improve stability