Added additional protection against poor bin dimensions.