Seems to work. Hangs for 10000