filter_edges, working out motions