Fixed SO filling algorithm