to measure a pile and use this expression let me know what measurements you get. If I am correct in my assumptions then W should be approximately equal to 2(L - S).