Optimize enabled calculations a bit