mngom_algorithm