Distance mapping technique and the 3-D structure of BD +30°3639