fixed weird indentation in mallot
template-ized get_aligned_addr