renamed Component.bounds to periodicity, memory optimizations in surface.py