working on auto resizing stages
more changes to dynamic sizing
it works