Change the calculation of mineWidth if not provided