Massive layout chnge with automatic tool