using new findCriticalBlock to demote

Signed-off-by: xiehuc <xiehuc@gmail.com>