Replaced var/sizes_to_number with weirdass formula that is faster and takes up less space in code than list lookups