smooth trig blending function and increased requested RAM to 8 GB