Four and a half months and in three gallon containers is the issue. The roots are probably bound. That can cause hermaphroditism, but from your pix, it just seems to have elongated their finishing. The density issue has some to do w/ your lights, distance to lights, nutrients, feed schedule, dry time, humidity and temperature. She looks healthy and doesn't look like she's growing any pollen sacks. I'd let her finish until her pistols and/or trichomes look finished. Let us have a smoke report when you get her cured. Enjoy.