I found the solution:
It does not work through Material Attributes automatiaclly. You have to extract Bottom Normal from attributes and output it to the Bottom Normal node in the end.