find mass of the block