Greedily assembly border