In the experiments, we first measured 10 initial data of 5 light conditions of 2 crystals. The blocking force was measured with a universal testing machine (RTG-1210, A&D). The jig approached a sample and stopped when initial load was confirmed. Then, the crystal was irradiated with UV light at 365 nm (8332A, CCS Ins.) for 5 min at 20 °C. As we aim to maximize blocking force rather than investigate the cause of deformation, we irradiated from both top and bottom, adopting the larger force value. In the sampling by Bayesian optimization, the crystal closest to the suggested crystal sizes were manually selected. When crystals of the suggested size were unavailable, we selected either alternative crystals of compound (S)-4 or (S)-5 to update the surrogate function. Since adjusting the light intensity was relatively simple, four additional light intensities outside of the suggested conditions were also tested.