refactored position of members of some structs to decrease their size. This was especially beneficial for the tables inside of maps and caches.