adjust algo weights