dynamically generate spirals of different sizes