fixed bug in build city/settlement and added bounding