private int calculateWidth(String label1, List<byte[]> listOfBytes1) {
    int longestList1 = label1.length();
    for (byte[] value : listOfBytes1) {
      longestList1 = Math.max(value.length * 2, longestList1);
    }
    return longestList1 + 5;
  }
Note that about half of these tests were relevant for a different implementation approach of
setStartStopRowForPrefixScan. These test cases have been retained to ensure that also the
edge cases found there are still covered.
hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestScanRowPrefix.java