generate minimal surfaces from edges