Assuming an underground habitat protects the guests from solar and cosmic radiation on a body that does not have the atmosphere to screen those hazards. Then how does the habitat protect the inhabitants from the radiation of the underground materials? Living in rock has its own hazards. Distance is always an answer. Perhaps the bio-generator is a cube with the primary living space of the humans in the center?