A try about borders. Maybe too slow