Fix mineshafts

This fixes a problem when the mineshafts are set to too large, the chunk generator performance drops painfully (from 150 chunks / sec to 1 chunk / sec)