figure generation complete for staps