recompose this grid

testing results for: sql
lab05
GNU-Fed-i64
sql/test/SQLancer0.905 
sqlancer07 X O0.083 
76951 (octbugs)