Nix reduce phase for edge extraction