How many empty tiles do I need around the top (surface) of a minehole to be able to travel from the bottom layer upwards without getting "not enough room" (or whatever the error message is)?
Is it ok to just have a single empty tile between a gate and the minehole on one side, and walls tightly packed against the minehole on all other sides, like this?