Updated quadkey calculations for new protocol