Store indexes state ID-s (SID-s) rather than whole states. At least 2 times lessen space usage.