First block contour then parameter input