WIP: added min and max constraint to Principal amount

Hi Keith,

This commit includes min and max constraint to Principal amount.

Regards
Ashok