MANTA-17 possible implementation for getSemiAlignedMetric