add some filter for constraint operations, also add a statistics method