Merge branch 'cmake'
Remove Autotools
Remove superfluous local variable

The collections have been checked for equal size, we then only need the
size of one of them to iterate. The other boundary pointer is never used
and only generate needless compiler warnings that pollutes the output.