make sure non-adjacent bcs are blocked from edge swap
shortened ASCII line
required for 'old' geometry approach to work again
simplified
added pattern for *.pyc (compiled Python)