It subdivides any gate pattern you feed it, including swinging, irregular ones.