When the number of gpus is square, cut it in square way