**Appendix A. Pseudo-Code of FIFO Greedy Algorithm**

**Algorithm A1** FIFO greedy algorithm

