diff --git a/atlas_server/src/static/training/config.py b/atlas_server/src/static/training/config.py
index a3663da50b624af25825d43c4a23e84dd723142b..e8e5d8ab21aab79c3a2b89a95dc5e3bd384b1214 100644
--- a/atlas_server/src/static/training/config.py
+++ b/atlas_server/src/static/training/config.py
@@ -17,8 +17,7 @@ def make_training_parameters(**kwargs):
     from_section = min(sections)
     to_section = max(sections)
     section_range = to_section - from_section
-    section_range = int(math.ceil((1 + increase) * section_range))
-    increase = int(math.ceil(section_range / 2))
+    increase = int(math.ceil(section_range * increase)) // 2
     min_section = max(from_section - increase, 1)
     max_section = to_section + increase