A square grid consists of cells. Each cell is colored either black or white. A coloring is called balanced if, for every rectangular sub-grid of size (), the difference between the number of black cells and white cells in that sub grid is at most 1. How many different balanced colorings are possible? (Two colorings are considered different if there exists at least one cell which is colored black in exactly one of them.)