Slab building optimization is now pure numpy

18x speedup over unoptimized case, 1.7x speedup over the earlier
optimization. (When profiling using examples/polymer/tethered.py with
step_interfaces=True)