i-bem: more modular way for inheritance from base block (close #428)