remove nearest and furthest till happy with algorithm