First pass at integer binning