turned getflorzofslope and getceilzofslope into a single function