Factors behind how it takes to freeze ice cubes