piece-length finds the optimal piece length for a given number of bytes. Optimal for what exactly? BitTorrent. [VuzeWiki](http://wiki.vuze.com/w/Torrent_Piece_Size) and [TorrentFreak](http://torrentfreak.com/how-to-make-the-best-torrents-081121/) have bot
npm install piece-length
npm install piece-length
`
note: you may need to polyfill Math.log2$3
` js
var optimum = require('piece-length')// 350mb should be 256kb
optimum(367001600) // => 262144
``