partially finished bound buffer checking

need to complete rest of test