Thanks. This version of script with "Sphere Cap" option really helped. it works nice. But on a side not - is it really rare to make sphere-like tops on cylinders, that it is necessary to use custom made scripts? I thought it was a common practise, and there should have been an easier solution. Or i guess there was a way…
i am sorry. i installed Quad cylinder plugin (http://www.scriptspot.com/3ds-max/scripts/quad-cylinder). But still the results are the same if i would manually quadrify it. I guess the problem is that i want to curve it at the top. So , it is not a plane face, but like a pillow.