[#30] Add dynamic sizing for attributes