Fix missing has_fixedslicing_model when False
Code style and reduce complexity