added inverse hierachy to icepicking.py