function rdata = Rdata(e)
global all_edges;

edge = all_edges(e(1));

rdata = edge.data{mod4(e(2)+1)};