linear search compressed