workaround for buggy for loop

OpenScad calculated the number of iterations inside a for loop wrong.