Rewrote the calcaas to run on separated nodes.