Saved more bytes by inlining calculations