Change getIconBySize behaviour, when one of arguments is not specified.