Randomly divide a square into smaller squares in Netlogo
Is there a way to divide a rectangle into smaller, random size rectangles in Netlogo? This question is because I have a shp file of farmland loaded in Netlogo composed of regular rectangles, and want to simulate how they are subdivided and occupied by urban development. Size of subdivisions can be a range between 1/3 to 1/8 of total square. Thanks.