Reduced operating time by ~10% via registers and inline