I'll check what the height formula really does - this is not fully documented. I believe it can also be used to convert greyscale images to a certain height, but it's a different formula then. The MED developer, Wladimir, is not in the office this week and I'll be away next week, so I have to ask for patience, but after my return I'll post a solution here.