Speed up of strip generation

Potential speed up of strip generation.