A method for manipulating state machine data storage consisting of state tables in a memory space, the method comprising: configuring a flash memory device, to comprise a first memory sector having a primary memory sector correspondence, a second memory sector having an alternate memory sector correspondence, and a third memory sector having a free memory sector correspondence; storing at least one data file comprising a plurality of state tables (11,31) on said primary memory sector; and attempting to add data to a memory sector by: querying the primary memory sector for space, and, if sufficient space exists on the primary memory sector, adding the data to the primary memory sector; if insufficient space exists on the primary memory sector, querying the alternate memory sector for available space, and, if sufficient space is available on the alternate memory sector, adding the data to the alternate memory sector; and if insufficient space is available on the alternate memory sector, performing the following steps (a) - (c): (a) copying a portion of said primary memory sector to said free memory sector, wherein said copying comprises using a state table coalescing function and transferring one or more in-use state tables from said primary memory sector to said free memory sector; (b) erasing said primary memory sector; and (c) updating the correspondence of each individual one of said first memory sector, said second memory sector, and said third memory sector. configuring a flash memory device, to comprise a first memory sector having a primary memory sector correspondence, a second memory sector having an alternate memory sector correspondence, and a third memory sector having a free memory sector correspondence; storing at least one data file comprising a plurality of state tables (11,31) on said primary memory sector; and attempting to add data to a memory sector by: querying the primary memory sector for space, and, if sufficient space exists on the primary memory sector, adding the data to the primary memory sector; if insufficient space exists on the primary memory sector, querying the alternate memory sector for available space, and, if sufficient space is available on the alternate memory sector, adding the data to the alternate memory sector; and if insufficient space is available on the alternate memory sector, performing the following steps (a) - (c): (a) copying a portion of said primary memory sector to said free memory sector, wherein said copying comprises using a state table coalescing function and transferring one or more in-use state tables from said primary memory sector to said free memory sector; (b) erasing said primary memory sector; and (c) updating the correspondence of each individual one of said first memory sector, said second memory sector, and said third memory sector. querying the primary memory sector for space, and, if sufficient space exists on the primary memory sector, adding the data to the primary memory sector; if insufficient space exists on the primary memory sector, querying the alternate memory sector for available space, and, if sufficient space is available on the alternate memory sector, adding the data to the alternate memory sector; and if insufficient space is available on the alternate memory sector, performing the following steps (a) - (c): (a) copying a portion of said primary memory sector to said free memory sector, wherein said copying comprises using a state table coalescing function and transferring one or more in-use state tables from said primary memory sector to said free memory sector; (b) erasing said primary memory sector; and (c) updating the correspondence of each individual one of said first memory sector, said second memory sector, and said third memory sector. (a) copying a portion of said primary memory sector to said free memory sector, wherein said copying comprises using a state table coalescing function and transferring one or more in-use state tables from said primary memory sector to said free memory sector; (b) erasing said primary memory sector; and (c) updating the correspondence of each individual one of said first memory sector, said second memory sector, and said third memory sector.