normalize potentially huge weights