Geometric engineering on flops of length two