HOW BITCOIN IS CALCULATED