generator working for throw heights greater than 9