Removed confusing floor operation that caused errors on Windows