Fixed the bug appearing when there is only one cell for computation

2 jobs for feature/fix-one-tile-calculation-bug in 1 minute and 48 seconds (queued for 1 second)