shape generation for random data