Optimization of the parameters of a storage ring for a high power XUV free electron laser: Searching Inside