Fix build.
Only use items from the negative border. While here, fix some comments, some informational printf, retire unused function.