most of boundaries fixed to long int