changed ST Math SP to convert columns to int