torrent bandler richard nested loops