new offset x option and adjustable x-tolerance