Next idea: Use vertical lines to determine the boxes