Create Compute sum of cubes for given range