A cubic block with dimensions $n \times n \times n$ is composed of $1 \times 1 \times 1$ unit cubes. Determine the smallest value of $n$ such that, after removing the outer two layers of unit cubes, more than half of the original unit cubes remain.

Let's think step by step and output the final answer within \boxed{}.
user