Text this: Modification of weight function method to predict stress intensity factors of two cracks