Added idamin/idamax interfaces