I would drop the initial `command.boundingVolume = ` here and below since it is already a result parameter.  It's less verbose, and less is more.