fixed #17, incorrect fee calculation when creating a large tx