optimize cascade operations.