Arduino nano just stops randomly

I managed to make some simple drawing in paint.
There are no wires linger than 10cm.
Here it is: