changed bounds for lmfit