I have borehole data I want to composite the data den and true thickness weighted. However, I need to composite by mining length of 120 cm (reef zone), but I want to constraint it by taking 10cm above the top reef contact and 110cm below. I'm dealing with old historic data where they sampled 30 cm above the reef contact. Anyone please assists even a tweak script can help.