Effects of topology in the Dirac spectrum of staggered fermions