Size dependence in two-dimensional lateral heterostructures of transition metal dichalcogenides