Intial codes for horizontal and vertical mergers