Optimal discretization strategy for boundary element-based shape optimization problem