Bugfix: wrong sign on floor value