set intend space for java and python