Final step to store all the column number of 1 st and 3 rd cell upto MidRow
for ( j = Math . min ( v . get ( i ) . x , MidRow ) ; j <= Math . max ( v . get ( i ) . x , MidRow ) ; j ++ ) { s . add ( new Point ( j , v . get ( i ) . x ) ) ; } } return s . size ( ) ; }