Fix precompute bug, need to check position has all 4 pcs