Works, but no in function form

Cube Framed was me trying to structure my functions, but passing the
curFrame variable something went wrong and only three unique transforms
occur to 1000 cubes.