save state before splitting planes in classes