specify max tag depth (default: 15)