Merging and auto-generation of vortices in wall bounded flows