Reconstructing supply network