Incorporating multi-depth and high aspect ratio features with metal, glass or Silicon wafer bonding and encapsulation