Added to the doc, some shape restriction.
Merge pull request #1031 from nouiz/doc

Added to the doc, some shape restriction.