Added quick sibling looping array in findShape.