Spider

The spider at on the 5th floor wants to get to (anywhere on) the bottom floor.

On each floor there are holes with spider webs it can slide down. But it needs to walk to the hole.

Question:

What is the smallest distance the spider has to walk?

(The dashed lines are 1 unit apart.)