PHOENIX-1533 Last key part not taken into child/parent optimization
PHOENIX-1362 code format and license
PHOENIX-1392 code format changes