Evolution of buried semiconductor nanostructures and origin of stepped surface mounds during capping