Lateral topological crystalline insulator heterostructure