Algorithms For Coupling Circuit And Physical Synthesis With High-Level Design-Space Exploration For 2D And 3D Systems