redo vconcat and hconcat. Not really sure if this way is better.