A high-resolution optical study of cantilever heterostructure layer geometries