Thanks Rick for sharing, I just double check and found it seems you initialize the data in window with the first observation and set -1.13E-15 for the tail missing value, this handle make the band shrink on the head and tail. In theory, we should use missing value for this two scenario, and it would make the upper/lower band wider on the head and tail. is there any special consideration here for it?