optimise for gain rate increase per cost to simplify computation by decreasing iterations done.

Created by  nicoty  on September 9, 2020
R7OI6M4UHTBQQ6VJTJJFYQGEOR3FRQRXH5P2YTREE6TNKYIHALEQC
Change contents