Modified final selection phase. Not finished yet.