adopted coco's per nesting flags
Merge pull request #338 from Nami-Doc/pnf

adopted coco's per nesting flags