adding entity sequence
removing predicate filter from entity iterator
updating shape function interface
Revert "removing predicate filter from entity iterator"

This reverts commit e0482591875d3c7f709e7ff89872e6daaad7c242.
interface updates