very close to on the fly strip generation