refactor method getSubBottomWidth()