fix up floor calc after refactor

Created by  rohan  on September 24, 2022
B7ELQAIFLBQVGQWXCHST3O25NA2LNGPJ2OXMDOTKO67VDSVMDTGAC
Change contents