a great number of separate pieces of cloth had been used to tie him , with several knotted loops running down either arm to secure him to the bars , along with a chain of loops down his legs to hold them together .