Remnove floating point use in cache filter