Fixed rand bug in strips.