Modified straight calculation