You can not pass 0 barrier.
More info functions.
Change diff function.