limit joins to 3 levels