WIP: add min and max constraint to Principal amount