ENH: ~20% speedup in morphing

Various increases in efficiency.