/ Border-in-the middle solution