That was actually the first thing I tried, and PTRDIFF_MIN was to try to get around that limitation.