only generate icons if really required