You've got your ternary statement backwards. You want `z[mon_hit].type->size < 2` for the condition.