The spider at on the 4th 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.


What is the smallest distance the spider has to walk?

(The dashed lines are 1 unit apart.)