the complex stretched over three acres housing a complete self-sustaining ecosystem , built in the late 1980s as a research facility to investigate the possibility of living in such closed environments in space .