Use webworkers for diamond square