align in calculate_surface_angle