oops, --distance bugfix; also, more appropriate popcount_longs() interface
post bugfix