minor cleanups in bw/array.h