Calculating mortgagee's priority amounts under deed of priority