Fix the case in which reference and objective coordinates are the same (<= instead of <)