optimization align Calculate method

change mod to &