Update ice_tools.py

tweaks for speed up