Optimizing fracture spacing and sequencing in horizontal well fracturing