Improved the routines for drawing fundamental domains