First version of dynamic paper size