Design and process for three-dimensional heterogeneous integration