tweak floor and background rendering

reuse the bounding equation