High-resolution heat capacity and optical-reflectivity measurements had been conducted near the smectic-A to hexatic-B transition in thin free-standing films of the liquid crystal compound 54COOBC and 64COOBC. It is surprise that dependence on film thickness of the integrated magnitude of the heat-capacity anomalies as the films undergo layer-by-layer transitions between 54COOBC and 64COOBC are different. Hence we measure 44COOBC at the same circumstance, and try to figure out how the effect on an alkyl in the liquid crystal compound.