adding merged version of sample_z_ab_from_edge