reduced space used to store symbols and objects; refactored size-detection functions