Hydrostatic compaction of cylindrical particles