search constrainted structure first