computing timing d-prime cube