Cleaning and prepare MP structure