Monte-Carlo simulation with cylinders