Text this: Optimising variable sample size X chart through median run length with estimated process parameters