OSIS-640 Refactored method
OSIS-640 Refactored method

uclouvain/osis_louvain,uclouvain/osis,uclouvain/OSIS-Louvain,uclouvain/osis,uclouvain/osis_louvain,uclouvain/osis_louvain,uclouvain/osis,uclouvain/OSIS-Louvain,uclouvain/osis,uclouvain/OSIS-Louvain