More memory usage tweaks

Creation of new items only require the length of the passed argument (instead of always allocating their specified constants).