updated my_cspad.cspad, the optimization is not perfect, but will suffice for now