moveing voxelmanip stuff out of the for loop