def frame_stack_calculate_parallel(client, calculate):
    """
        Wraps a frame stack parallel function to delay specification of number
        of frames per block.

        Args:
            client(Client):                client to send computations to.

            calculate(callable):           a frame stack parallel function to
                                           wrap.

        Returns:
            callable:                      parallelized callable.
    """

    def prebuild_frame_stack_calculate_parallel(num_frames):
        return(calculate(client, num_frames))
    return(prebuild_frame_stack_calculate_parallel)