simplify algorithms tuning