replace LCM by floorBy, LCM is wrong word