Weight-optimized hydraulic cylinders