Created by: portnov
Add possibility to divide each side of the polygon to several segments.
Preflight checklist
Put an x letter in each brackets when you're done this item:
- 
Code changes complete.  - 
Code documentation complete.  - 
Documentation for users complete (or not required, if user never sees these changes).  - 
Manual testing done.  - 
Unit-tests implemented.  - 
Ready for merge.