$chem{27}{242272800}=6; # one element = less than 30 bytes #or even $chem[27]{242272800}=6; # an array of hashes if all 'm's # are used but very few 'n's #as opposed to $chem[27][242272800]=6; # great heaping piles of RAM needed