Did some performance optimizations
Removed temporary reporting lines
Fixed even vs odd