Removed cruft
Multiple changes:

Normalized position name in pair_up()
Decoupled zero prepend from range existence
Collapsed range setting
Moved debug option to the top of the code
Moved version to beginning ..because visibility