'delete &a;' occasionally tried to free a non-allocated memory slot.
First compiling try with parallel_for.