No speedup on 3.4 and changed the weight to a class variable.