description of modsqrt.py