Adding dynamic update of size.