Use sqrt instead of half