Don't load the whole digging area when only a small piece is relevant. Also, move the (time expensive) check whether the air above a block is free to the last position, which spares unneccessary checks when multiple quarries are placed together, or a quarry has to loop over air for another reason.
Technic
License
Copyright (C) 2012-2014 Maciej Kasatkin (RealBadAngel)
Technic chests code is licensed under the GNU LGPLv2+.
Texture licenses:
BlockMen modified by Zefram (CC BY-SA 3.0):
- technic_chernobylite_block.png
- technic_corium_flowing_animated.png
- technic_corium_source_animated.png
celeron55 (Perttu Ahola) modified by Zefram (CC BY-SA 3.0):
- technic_bucket_corium.png
RealBadAngel: (WTFPL)
- Everything else.
CC BY-SA 3.0: http://creativecommons.org/licenses/by-sa/3.0/