Changed more memorystuff, global lists
Only do isSmallest test once per level