Relativistic surface states of a finite crystal