CALCULATING ENCLOSURE VOLUME