bottomUpLabeling fixed