Added bin packing stuffs