Function to find the maximum square size possible with the such that every submatrix have sum less than the given sum
static int maximumSquareSize ( int [ ] [ ] mat , int K ) { int [ ] [ ] aux = new int [ N ] [ M ] ; preProcess ( mat , aux ) ;