Indica dominant strains are a place to start, then intense lighting, and then ample Phosphorous and Carbon during flower.
Combine these 3 things and you will maximize your bud density.