removed requirement of uniform bin size