Correct a bug in using_subfunc.R where calculating 3' terminal matching
border.