Improve pandian input.