On numerical integration by the shift and application to Wiener space