Improves ass copy code. More ass deinitializations added.