Linear table before and after element exchange