primitivst bin packing working - before introducing angular