Development And Integration Of Geometric And Optimization Algorithms For Packing And Layout Design