Correlation between length and offset in strike-slip faults