How would you implement a state queue without dynamic memory allocation in Benchmark Space Systems embedded software?