add options to change the width and height
updated convergence #s