reverted some chngs to in64 for the low level calcs. needs a review