Squares 1, 2 and 3 have sides of length 1, 2 and 3 units, respectively. What is the perimeter of the entire figure if there are 100 such squares in the shape?