A new analytical method for modeling selective epitaxial growth