Found a bug in border calc. Almost fixed it. Now only fixIntPointID
function left.