dynamic sizes from xml file