added precompute test cases for Y