de Bruijn graph compaction in low memory