Refactor BEMTREE

// cc @tavriaforever @gela-d @tormozz48 
white space after colon