WIP: added min and max constraint to Principal amount