Also, like with other functions, make sure you have clean geometry (no one or two points polys) and only have one layer selected.