Modify banana-shaped random number generator to improve its efficiency for high dimensional data.