JAL-2547 fix case of gap followed by enclosing contact feature position