Improving ForkJoin usage for better performance

Hi, I’m a PhD student doing research on ForkJoin usage, and I found that your code can be improved for better performance and energy efficiency.

Using this modification, there is no need to create new ```List<Mass> masses``` instances during the ForkJoin recursive operation. It will save you some memory, execution time, and energy consumption.