Change weight factors.