Dynamically generated open-charm baryons beyond the zero-range approximation