how to measure hydraulic cylinder