
    let mode = std::env::args().nth(1).expect("mode unavailable");
    let name = std::env::args().nth(2).expect("name unavailable");
    let nodes: u32 = std::env::args().nth(3).expect("nodes unavailable").parse().expect("nodes not parseable");

    match mode.as_str() {
        "vertex" => {
            label_propagation(&NodesEdgesMemMapper::new(&name), nodes)
        },
        "hilbert" => {
            label_propagation(&UpperLowerMemMapper::new(&name), nodes)
        },
        "compressed" => {
            label_propagation(&DeltaCompressedReaderMapper::new(|| BufReader::new(File::open(&name).unwrap())), nodes)
        },