fixed bug in boundary check

there is no reason we couldnt have an odd number of characters