Bug fix: round down correctly + cache entries size are now correct.