buggy corner case encoding 0,0