Weak Flip Codes and its Optimality on the Binary Erasure Channel