[NEW]: import better layout guide calculation