Change floor method

no need to import math just for floor