TST: do not use zip() for bounds, because python3 can't find its len()