Adding dyanimc sizing support