spark structure adjust