From an elevated point 'A', a stone is projected vertically upwards. The velocity of the stone when it reaches a distance 'h' below 'A' is double its velocity when it was at a height 'h' above 'A'. The greatest height attained by the stone above 'A' is