Fix, float assertion to be sure that we have correct thing before casting to int