Removes assembling pieces in memory