The Centers for Disease Control and Prevention reported that there were more than 1.5 million people in the United States suffering from cancer, and the estimated death toll was about half a million (Murphy, Kochanek, Xu, & Arias, 2015). Globally, the estimated deaths from cancer-related illness have reached about 9.6 million every year (Bray et al., 2018). The growing number of cancer patients indicates the importance of new discoveries and inventions to effectively and safely treat cancer. Radiation therapy is a powerful and effective treatment to treat malign tumours. However, radiation can also damage normal tissues. Thus, optimizing radiation dose, such as electron beam dose, can have important impact on the quality of cancer treatment. The optimization of radiation dose distribution can be accomplished by personalized radiation modulation devices such as compensators for photon beams (Zhu et al., 2015) and bolus for electron beams (Ma et al., 2003). Using high-energy radiation, radiation therapy controls the growth of cancer cells, relieves the symptoms (Baskar, Lee, Yeo, & Yeoh, 2012)