without assert it looks perfect. still rarely fails
now not going through dying jewels