Replaced all manual conversions like 12 >> SP_ACCURACY with the defines for better reading