Using (int) instead of floor(). It basically does the same and we don't need the additonal size of a float vs integer.