Add dynamic sizing capability