bytebuffers

as opposed to 2 dimensional arrays! little better, but not much
refactoring