rephrase blockzero function complexity and remove useless functions
Merge pull request #555 from huili2/remove_unused_func

rephrase blockzero function complexity and remove useless functions