Updated alpha beta with depth factor