closes #36 with addition of chunk width option