A die package comprising: an encapsulation (110, 610) having a top surface and a bottom surface, the bottom surface facing away from the top surface, and having a plurality of edges; a die (120, 620) embedded in the encapsulation; and a leadframe (350, 650) comprising a plurality of leads (352, 354), each of the leads including an internal portion embedded in the encapsulation and an exposed portion (352, 452, 552) exposed through one of the edges of the bottom surface of the encapsulation, the exposed portion having a length, wherein the bottom of the exposed portion (352, 452, 552) is flush with the bottom surface of the encapsulation (110, 610); wherein the internal portion has a thickness thinner than the thickness of the exposed portion and is recessed from the bottom surface of the encapsulation, wherein at least one of the exposed portions positioned along one of the edges of the bottom surface of the encapsulation has a length different from lengths of other exposed portions along the edge, wherein the exposed portions (352, 452, 552) of the leads positioned along the edge are grouped into a plurality of groups such that exposed portions in the same group have the same length as one another, and such that an exposed portion in a group has a different length from another exposed portion in a different group, wherein the plurality of groups comprises a first group along the edge, the exposed portions in the first group having a first length, wherein the plurality of groups further comprises a second group adjacent to the first group along the edge, the exposed portions (352, 452, 552) in the second group having a second length shorter than the first length, wherein the plurality of groups further comprises a third group adjacent to the second group along the edge such that the second group is interposed between the third group and the first group, the exposed portions in the third group having a third length shorter than the second length, and wherein the third group is immediately adjacent to a corner of the bottom of the encapsulation (110, 610), and wherein the first group is at the middle portion of the edge. an encapsulation (110, 610) having a top surface and a bottom surface, the bottom surface facing away from the top surface, and having a plurality of edges; a die (120, 620) embedded in the encapsulation; and a leadframe (350, 650) comprising a plurality of leads (352, 354), each of the leads including an internal portion embedded in the encapsulation and an exposed portion (352, 452, 552) exposed through one of the edges of the bottom surface of the encapsulation, the exposed portion having a length, wherein the bottom of the exposed portion (352, 452, 552) is flush with the bottom surface of the encapsulation (110, 610); wherein the internal portion has a thickness thinner than the thickness of the exposed portion and is recessed from the bottom surface of the encapsulation, wherein at least one of the exposed portions positioned along one of the edges of the bottom surface of the encapsulation has a length different from lengths of other exposed portions along the edge, wherein the exposed portions (352, 452, 552) of the leads positioned along the edge are grouped into a plurality of groups such that exposed portions in the same group have the same length as one another, and such that an exposed portion in a group has a different length from another exposed portion in a different group, wherein the plurality of groups comprises a first group along the edge, the exposed portions in the first group having a first length, wherein the plurality of groups further comprises a second group adjacent to the first group along the edge, the exposed portions (352, 452, 552) in the second group having a second length shorter than the first length, wherein the plurality of groups further comprises a third group adjacent to the second group along the edge such that the second group is interposed between the third group and the first group, the exposed portions in the third group having a third length shorter than the second length, and wherein the third group is immediately adjacent to a corner of the bottom of the encapsulation (110, 610), and wherein the first group is at the middle portion of the edge.