Expand query graph depth to a specific amount