move segment
combine into snapInstances