support for multiple bin sizes