Applying periodic fee on an AMZ based loan contract