Made the amount coverabled covered better
Made the amount coverabled covered better

Moved to free function outside and removed repetition from inside struct members.

xd009642/tarpaulin,xd009642/tarpaulin