to find bad_alloc