make the court lines match the lines from the reference