support MODE_MARGINREQUIRED