Allow to iterate multiple dimensions