Robust Local Thickness Estimation of Sub-Micrometer Specimen by 4D-STEM