BUIS compatibility?

Would a Keymod front BUIS work with a picatinny rear micro BUIS and vice versa or would there be a height disparity?

Thanks,
B